﻿<%@ Page Language="C#" MasterPageFile="~/Examples/Examples.master" AutoEventWireup="true" CodeBehind="Themes!Skinning.aspx.cs" Inherits="SampleSite.Examples.Themes_Skinning" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HtmlHead" runat="server"></asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ExampleTitle" runat="server"></asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ExampleIntro" runat="server">
    <p>This example shows how themes can be applied to the TinyMCE control.</p>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="Example" runat="server">
    <moxiecode:TinyMCE ID="TinyMCE1" runat="server" SkinID="advanced-simplified">
        <Toolbars>
            <moxiecode:Toolbar Items="save,newdocument" />
        </Toolbars>
    </moxiecode:TinyMCE>
    <asp:TextBox ID="TextBox1" runat="server" />
<pre runat="server" class="html">
&lt;moxiecode:TinyMCE ID="TinyMCE2" runat="server" SkinID="advanced-simplified"&gt;
    &lt;Toolbars&gt;
        &lt;moxiecode:Toolbar Items="save,newdocument" /&gt;
    &lt;/Toolbars&gt;
&lt;/moxiecode:TinyMCE&gt;
&lt;asp:TextBox ID="TextBox2" runat="server" /&gt;
</pre>
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="ExampleExplanation" runat="server">
    <p>The point of this example is to show that themes override collection properties set on the page. In this case, the buttons <i>save</i> and <i>newdocument</i>
    are not added as a new toolbar for this reason.
    </p>
    <p>Remember that setting collection properties in the skin file will not allow the page developer to change the collections after applying the skin.</p>
</asp:Content>
